import request from '@/utils/request';
import type { ResBody } from './common';
import { DeptQuery, DeptVO } from '../system/dept/types';

export const getAreaList = (query: DeptQuery): ResBody<DeptVO[]> =>
  request.get('/system/dept/list', { params: { ...query, parentId: '1812866827717947394' } });
